<?php

declare(strict_types=1);

namespace App\Wxc\Command;

use App\Wxc\Service\WxcSharerMpShopRecService;
use Hyperf\Command\Annotation\Command;
use Hyperf\Command\Command as HyperfCommand;

/**
 * 生成微信视频号小店分享员助手端首页店铺推荐
 */
#[Command]
class WxcSharerMpRecShopGenCommand extends HyperfCommand
{
    protected ?string $signature = 'wxc:sharerMp:rec:shop';

    protected string $description = '生成微信视频号小店分享员助手端首页店铺推荐';

    public function handle()
    {
        $service = container()->get(WxcSharerMpShopRecService::class);
        $service->generate();
    }
}